home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 June: Reference Library / Dev.CD Jun 96 RL / Dev.CD Jun 96 RL.toast / Technical Documentation / develop / develop Issue 24 / develop Issue 24 code / Scriptable Database 1.0a15 / Scripting / CoreSuite.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-19  |  1.1 KB  |  46 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        CoreSuite.h
  3.  
  4.     Contains:    Interface for TCoreSuite
  5.  
  6.     Written by:    Greg Anderson
  7.  
  8.     Copyright:    © 1993-1994 by Apple Computer, Inc., all rights reserved.
  9.  
  10.          <2>      4/6/94    moss    
  11. */
  12. #pragma once
  13.  
  14. #ifndef __CORESUITE__
  15. #define __CORESUITE__
  16.  
  17. #define kAEDuplicate    'dupl'
  18.  
  19. #include <Types.h>
  20.  
  21. class TAEvent;
  22. class TEventHandlerTable;
  23.  
  24. class TCoreSuite
  25.     {
  26. public:
  27.     static void InstallAEHandlers(TEventHandlerTable&);
  28.     
  29.     // event handlers
  30.  
  31. protected:
  32.  
  33.     static pascal OSErr DoExists(TAEvent& ae, TAEvent& reply, long hRefcon);
  34.     static pascal OSErr DoGetData(TAEvent& ae, TAEvent& reply, long hRefcon);
  35.     static pascal OSErr DoSetData(TAEvent& ae, TAEvent& reply, long hRefcon);
  36.     static pascal OSErr DoGetDataSize(TAEvent& ae, TAEvent& reply, long hRefcon);
  37.     static pascal OSErr DoNewElement(TAEvent& ae, TAEvent& reply, long hRefcon);
  38.     static pascal OSErr DoNumberOfElements(TAEvent& ae, TAEvent& reply, long hRefcon);
  39.     
  40.     static pascal OSErr DoCommand(TAEvent& ae, TAEvent& reply, long hRefcon);    
  41.     static pascal OSErr DoOpen(TAEvent& ae, TAEvent& reply, long hRefcon);    
  42.     static pascal OSErr DoMove(TAEvent& ae, TAEvent& reply, long hRefcon);    
  43.     };
  44.  
  45. #endif
  46.